package com.peak.gateway.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * @author likai
 * @date 2021/2/20 10:51
 * @email likai9376@163.com
 * @desc
 */
@RestController
@RequestMapping(value = "/gateway")
public class DemoController {


    @RequestMapping(value = "/get",method = RequestMethod.GET)
    public Object get(){
        HashMap hashMap = new HashMap();
        hashMap.put("method","get");
        return hashMap;
    }

}
